<%=image_tag(url_for_file_column(@image, "name", "small"))%>
<br />
<h2>View</h2>
<dl>

    <dd><%= link_to("Normal", :controller =>"images", :action => "view", :id => @image.id ) -%></dd>

<%for i in Image.possible_sizes.keys%>
   <dd> <%= link_to(i.capitalize, :controller =>"images", :action => "view", :id => @image.id ,:size => i) -%></dd>
<%end%>
</dl>
<h1>Edit the image properties </h1>


<%= form_tag({:action=>'update_image', :id=>@image.id})%>
<%= render(:partial => "form_image_edit", :locals => {:image => @image})%>
<%= submit_tag "Update" %>